<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<script src="/jquery.js"></script>
<body>
<h1>新闻列表</h1>

<ul>
  <li>
    <a th:href="@{/detail/1}">新闻1</a>

  </li>
  <li>
    <a th:href="@{/detail/2}">新闻2</a>
  </li>
</ul>
</body>

</html>